package cn.kgc.waimai.mapper;

import cn.kgc.waimai.pojo.Cuisines;
import cn.kgc.waimai.pojo.CuisinesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CuisinesMapper {
    int countByExample(CuisinesExample example);

    int deleteByExample(CuisinesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Cuisines record);

    int insertSelective(Cuisines record);

    List<Cuisines> selectByExample(CuisinesExample example);

    Cuisines selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Cuisines record, @Param("example") CuisinesExample example);

    int updateByExample(@Param("record") Cuisines record, @Param("example") CuisinesExample example);

    int updateByPrimaryKeySelective(Cuisines record);

    int updateByPrimaryKey(Cuisines record);
}